﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace RoundNode
{
    public partial class UserControl1: UserControl
    {
        public UserControl1()
        {
            InitializeComponent();
        }

        private Image _backImage;

        public Image BackImage
        {
            set
            {
                _backImage = value;
                pictureBox1.Image = value;
            }
            get { return _backImage; }
        }


        private void pictureBox1_Click(object sender, EventArgs e)
        {

        }

        private void label1_Paint(object sender, PaintEventArgs e)
        {
            label1.BackColor = Color.Transparent;
            label1.Text = "ceshiwenben";
        }

        public void Init(Image image)
        {
            pictureBox1.Image = image;
        }
    }
}
